﻿using AuditUpload.model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using AuditUpload.gui;
using System.Text;
 
using System.Windows.Forms;
using System.IO;

namespace AuditUpload
{
    public partial class ETL : Form
    {
        public ETL()
        {
            ETLScreens();
            InitializeComponent();
            ETLScreens2();
        }

        private void ETL_Load(object sender, EventArgs e)
        {
            DirectoryInfo appdir = new DirectoryInfo(Application.StartupPath);
            string configfolder = appdir.Parent.FullName + "\\config";
            string datafolder = appdir.Parent.FullName + "\\data";
            string outputfolder = appdir.Parent.FullName + "\\output";
            Global.totalSet.newtotalset(configfolder, datafolder, outputfolder);
            Global.userDatas.newuserdata();

            SwitchWindow.Go(null, progress.login);
            //Global.labeltoShow[(int)progress.loginserver].FormOn(null);12
        }
    }
}
